package com.baizhi.springmvc.dao;

import com.baizhi.springmvc.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressDao {
    List<Address> selectAllAddress(Integer user_id);

    void insert(Address address);

    void updateStatus(@Param("status") Integer status, @Param("id") Integer id);

    void updateDeleteStatus(Integer addressid);

    void updateAllStatus(Integer user_id);
}
